package com.study.zouchao.superproject.homepage.model.result.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/21.
 */

public class BaiduNewResult {

    /**
     * errno : 0
     * request_id : 0352586021
     * timestamp : 1498007152
     * data : {"list":[{"title":"首家倒闭共享单车企业带来的警示","url":"http://opinion.hexun.com/2017-06-20/189711662.html","author":"和讯网","sortTime":1497919140,"publicTime":1497919140,"imgUrl":"https://t11.baidu.com/it/u=3868498498,88419085&fm=82&s=8982459300607AB07C8580F003009033&w=121&h=81&img.JPEG"},{"title":"刘振友被评为华尊奖 2017分享经济十大领军人物","url":"http://news.xhby.net/system/2017/06/20/030697321.shtml","author":"新华报业网","sortTime":1497948421,"publicTime":1497948421,"imgUrl":"https://t12.baidu.com/it/u=2717139848,1595952756&fm=55&s=30A2C0B75A3AB6CA023E9FBE0300B008&w=121&h=81&img.JPEG"},{"title":"共享单车\u201c保姆\u201d一天巡查40公里修车60辆","url":"http://www.legaldaily.com.cn/gallery/content/2017-06/20/content_7212171.htm?node=81112","author":"法制网","sortTime":1497945180,"publicTime":1497945180,"imgUrl":"https://t12.baidu.com/it/u=947849237,3780088438&fm=55&s=7613568148C2F8DA1C01D4C2030030B0&w=121&h=81&img.JPEG"},{"title":"\u201c悟空\u201d西去\u201c七彩\u201d驾临,共享单车\u201c决战\u201d在即?","url":"http://tech.china.com/article/20170620/2017062034715.html","author":"中华网","sortTime":1497941961,"publicTime":1497941961,"imgUrl":"https://t12.baidu.com/it/u=2482876991,1115969405&fm=55&s=6F560DC7C2E3AAEC10F834BB03007001&w=121&h=81&img.JPG"},{"title":"七彩共享单车亮相北京街头 居然还是夜光的","url":"http://edu.sina.com.cn/bschool/2017-06-20/doc-ifyhfnrf9362083.shtml","author":"新浪","sortTime":1497917340,"publicTime":1497917340,"imgUrl":"https://t10.baidu.com/it/u=2698201893,391728037&fm=55&s=16A4F604EEF1E6DC66B525850300F08A&w=121&h=81&img.JPEG"},{"title":"中学老师谈高考:写共享单车对农村考生不公平","url":"http://www.china.com.cn/news/2017-06/20/content_41059177.htm","author":"中国网","sortTime":1497912902,"publicTime":1497912902,"imgUrl":""},{"title":"首家共享单车亏钱倒闭退出 创始人曾是北大保安","url":"http://www.tianjinwe.com/hotnews/txjj/201706/t20170620_1163779.html","author":"天津网","sortTime":1497921360,"publicTime":1497921360,"imgUrl":"https://t10.baidu.com/it/u=820158189,1355550945&fm=55&s=E008FE1748E8FCC21808C4E40300607B&w=121&h=81&img.JPEG"},{"title":"节能有我,绿色共享 绿水青山就是金山银山","url":"http://news.e23.cn/shehui/2017-06-20/2017062000421.html","author":"舜网","sortTime":1497959120,"publicTime":1497959120,"imgUrl":"https://t11.baidu.com/it/u=2021535760,1457767457&fm=55&s=2BA0488593AA86E22625E18C03008002&w=121&h=81&img.JPEG"},{"title":"理财+共享模式如何走通?微型金要从股市草根高手下手!","url":"http://www.morningpost.com.cn/2017/0620/1638851.shtml","author":"北京晨报","sortTime":1497957420,"publicTime":1497957420,"imgUrl":""},{"title":"卫哲:我不看好共享经济,所以不参与 ","url":"http://www.cneo.com.cn/article-28586-1.html","author":"企业观察网","sortTime":1497957420,"publicTime":1497957420,"imgUrl":""}],"total":118792}
     */

    private int errno;
    private String request_id;
    private int timestamp;
    private DataBean data;

    public int getErrno() {
        return errno;
    }

    public void setErrno(int errno) {
        this.errno = errno;
    }

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaiduNewResult{" +
                "errno=" + errno +
                ", request_id='" + request_id + '\'' +
                ", timestamp=" + timestamp +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * list : [{"title":"首家倒闭共享单车企业带来的警示","url":"http://opinion.hexun.com/2017-06-20/189711662.html","author":"和讯网","sortTime":1497919140,"publicTime":1497919140,"imgUrl":"https://t11.baidu.com/it/u=3868498498,88419085&fm=82&s=8982459300607AB07C8580F003009033&w=121&h=81&img.JPEG"},{"title":"刘振友被评为华尊奖 2017分享经济十大领军人物","url":"http://news.xhby.net/system/2017/06/20/030697321.shtml","author":"新华报业网","sortTime":1497948421,"publicTime":1497948421,"imgUrl":"https://t12.baidu.com/it/u=2717139848,1595952756&fm=55&s=30A2C0B75A3AB6CA023E9FBE0300B008&w=121&h=81&img.JPEG"},{"title":"共享单车\u201c保姆\u201d一天巡查40公里修车60辆","url":"http://www.legaldaily.com.cn/gallery/content/2017-06/20/content_7212171.htm?node=81112","author":"法制网","sortTime":1497945180,"publicTime":1497945180,"imgUrl":"https://t12.baidu.com/it/u=947849237,3780088438&fm=55&s=7613568148C2F8DA1C01D4C2030030B0&w=121&h=81&img.JPEG"},{"title":"\u201c悟空\u201d西去\u201c七彩\u201d驾临,共享单车\u201c决战\u201d在即?","url":"http://tech.china.com/article/20170620/2017062034715.html","author":"中华网","sortTime":1497941961,"publicTime":1497941961,"imgUrl":"https://t12.baidu.com/it/u=2482876991,1115969405&fm=55&s=6F560DC7C2E3AAEC10F834BB03007001&w=121&h=81&img.JPG"},{"title":"七彩共享单车亮相北京街头 居然还是夜光的","url":"http://edu.sina.com.cn/bschool/2017-06-20/doc-ifyhfnrf9362083.shtml","author":"新浪","sortTime":1497917340,"publicTime":1497917340,"imgUrl":"https://t10.baidu.com/it/u=2698201893,391728037&fm=55&s=16A4F604EEF1E6DC66B525850300F08A&w=121&h=81&img.JPEG"},{"title":"中学老师谈高考:写共享单车对农村考生不公平","url":"http://www.china.com.cn/news/2017-06/20/content_41059177.htm","author":"中国网","sortTime":1497912902,"publicTime":1497912902,"imgUrl":""},{"title":"首家共享单车亏钱倒闭退出 创始人曾是北大保安","url":"http://www.tianjinwe.com/hotnews/txjj/201706/t20170620_1163779.html","author":"天津网","sortTime":1497921360,"publicTime":1497921360,"imgUrl":"https://t10.baidu.com/it/u=820158189,1355550945&fm=55&s=E008FE1748E8FCC21808C4E40300607B&w=121&h=81&img.JPEG"},{"title":"节能有我,绿色共享 绿水青山就是金山银山","url":"http://news.e23.cn/shehui/2017-06-20/2017062000421.html","author":"舜网","sortTime":1497959120,"publicTime":1497959120,"imgUrl":"https://t11.baidu.com/it/u=2021535760,1457767457&fm=55&s=2BA0488593AA86E22625E18C03008002&w=121&h=81&img.JPEG"},{"title":"理财+共享模式如何走通?微型金要从股市草根高手下手!","url":"http://www.morningpost.com.cn/2017/0620/1638851.shtml","author":"北京晨报","sortTime":1497957420,"publicTime":1497957420,"imgUrl":""},{"title":"卫哲:我不看好共享经济,所以不参与 ","url":"http://www.cneo.com.cn/article-28586-1.html","author":"企业观察网","sortTime":1497957420,"publicTime":1497957420,"imgUrl":""}]
         * total : 118792
         */

        private int total;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "total=" + total +
                    ", list=" + list +
                    '}';
        }

        public static class ListBean {
            /**
             * title : 首家倒闭共享单车企业带来的警示
             * url : http://opinion.hexun.com/2017-06-20/189711662.html
             * author : 和讯网
             * sortTime : 1497919140
             * publicTime : 1497919140
             * imgUrl : https://t11.baidu.com/it/u=3868498498,88419085&fm=82&s=8982459300607AB07C8580F003009033&w=121&h=81&img.JPEG
             */

            private String title;
            private String url;
            private String author;
            private int sortTime;
            private int publicTime;
            private String imgUrl;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public int getSortTime() {
                return sortTime;
            }

            public void setSortTime(int sortTime) {
                this.sortTime = sortTime;
            }

            public int getPublicTime() {
                return publicTime;
            }

            public void setPublicTime(int publicTime) {
                this.publicTime = publicTime;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }


            @Override
            public String toString() {
                return "ListBean{" +
                        "title='" + title + '\'' +
                        ", url='" + url + '\'' +
                        ", author='" + author + '\'' +
                        ", sortTime=" + sortTime +
                        ", publicTime=" + publicTime +
                        ", imgUrl='" + imgUrl + '\'' +
                        '}';
            }
        }
    }
}
